package com.ruibang.glass.common.domain.camunda;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Schema(description = "管理后台 - 流程实例的创建 Request VO")
@Data
public class BpmProcessInstanceCreate implements Serializable {

    @ApiModelProperty(value = "流程定义的编号")
    private String processDefinitionId;

    @ApiModelProperty(value = "变量实例")
    private Map<String, Object> variables;

    @ApiModelProperty(value = "业务的唯一标识")
    private String businessKey;

    @ApiModelProperty(value = "业务菜单Id")
    private String menuId;

    @ApiModelProperty(value = "是否同步OA,0:不同步,1:同步")
    private String sync = "0";
}
